#-*- coding: utf-8 -*-
import sys
import distutils.util

if sys.version_info[0] > 2 or (sys.version_info[0] == 2 and sys.version_info[1] >= 5):
    from ez_setup import use_setuptools
    use_setuptools()
    from setuptools import setup
else:
    import warnings
    warnings.warn('setuptools not used')
    from distutils.core import setup

execfile(distutils.util.convert_path('nosango/__init__.py'))

setup(
    name = 'Nosango',
    version = __version__,
    description = "A Django test plug-in for Nose",
    long_description = 'A plug-in for nose/nosetests to test Django applications.',
    author = 'Olivier Mansion',
    author_email = 'olivier.mansion@gmail.com',
    zip_safe = False,
    license = 'GNU Library or Lesser General Public License (LGPL)',
    packages = [
        'nosango',
        'nosango.management',
        'nosango.management.commands',
        ],
    classifiers = [
        'Development Status :: 5 - Production/Stable',
        'Environment :: Plugins',
        'Intended Audience :: Developers',
        'License :: Public Domain',
        'Natural Language :: English',
        'Operating System :: POSIX',
        'Programming Language :: Python',
        'Topic :: Software Development :: Testing',
        ],
    install_requires = [
        'nose >= 0.11.1',
        'Django >= 1.2.1',
        ],
    entry_points = {
        'nose.plugins.0.10': [
            'nosango = nosango.plugin:Nosango'
            ],
        },
    test_suite = 'nose.collector',
)
